import api from '../index';

/**
 * 
 * 轮播图的请求
 * */

export const getSwiper = (params) => api.get('/public/v1/home/swiperdata', { params });


/**
 * 
 * 分类导航的请求
 * */

export const getCate = (params) => api.get('/public/v1/home/catitems', { params });


/**
 * 
 * 楼层的请求
 * */

export const getfloor = (params) => api.get('/public/v1/home/floordata', { params });


/**
 * 
 * 分类页面的请求
 * */

export const categories = (params) => api.get('public/v1/categories', { params });

